package com.ln.design.mode.proxy.statics;

import com.ln.design.mode.proxy.SmsService;
import com.ln.design.mode.proxy.SmsServiceImpl;

/**
 * @Description SmsProxyTest
 * @Author zhangj
 * @Date 2022/11/29 22:57
 */
public class SmsProxyTest {

    public static void main(String[] args) {
        SmsService smsService = new SmsServiceImpl();
        SmsProxy smsProxy = new SmsProxy(smsService);
        smsProxy.send("hello");
    }

}
